package IO;
import java.io.FileInputStream;
import java.io.InputStreamReader;

public class IoRead {
	public static void main(String[] args) {
		FileInputStream fis=null;
		try {
			fis=new FileInputStream("e:/weather.txt");
			byte[] b = new byte[512];
			int l = fis.read(b);
				while(l!=-1){
					System.out.println(new String(b));
					l = fis.read(b);
				}
			fis.close();
			

		} catch (Exception e) {
			System.out.println("Exception");
		}
	}
}
